﻿@using BBICMS.Infrastructure;
<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title _ @Helpers.Settings.ContactForm.CompanyName</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    @Styles.Render("~/bundles/Admin/css")

    @Scripts.Render("~/bundles/admin/modernizr")

    @RenderSection("header", required: false)


    <!--[if lt IE 9]>
        <script src="~/Content/Admin/js/lib/respond.min.js"></script>
     <![endif]-->


</head>
<body>
    
    <header class="page-header">
        <div class="ui menu">
            <a class="active item" href="@Url.Action("Index","Home")">
                <i class="home icon"></i> 控制面板
            </a>
            <div class="ui dropdown item">
                <i class="dropdown icon"></i>
                <i class="setting icon"></i>全局
                <div class="menu">
                    <a href="@Url.Action("SiteInfo", "Info")" class="item">
                        网站信息
                    </a>

                    <a href="@Url.Action("Index", "Info")" class="item">
                        公司资料
                    </a>

                    <a href="@Url.Action("Social", "Info")" class="item">
                        社交资料
                    </a>

                    <a href="@Url.Action("EmailSet", "Info")" class="item">
                        邮箱服务设置
                    </a>
                </div>
            </div>
            <div class="ui dropdown item">
                <i class="dropdown icon"></i>
                <i class="block layout icon"></i>内容
                <div class="menu">
                    @Html.ActionLink("文章", "Index", "News", null, new { @class = "item" })
                    <a class="item">Russian</a>
                    <a class="item">Spanish</a>
                </div>
            </div>
            <div class="ui dropdown item">
                <i class="dropdown icon"></i>
                <i class="share alternate icon"></i>组件
                <div class="menu">
                    <a href="@Url.Action("Index", "Carousel")" class="item">
                        轮播图
                    </a>
                    <a class="item">Russian</a>
                    <a class="item">Spanish</a>
                </div>
            </div>

            <div class="ui dropdown item">
                <i class="dropdown icon"></i>
                <i class="protect icon"></i>安全
                <div class="menu">
                    <a href="@Url.Action("Index", "Security")" class="item">
                        帐号管理
                    </a>
                    <a href="@Url.Action("ResetPassword", "Security")" class="item">
                        修改密码
                    </a>
                </div>
            </div>
           
            <a class="item">
                <i class="wechat icon"></i>公众号
            </a>
            <div class="right menu">
                <div class="ui dropdown item">
                    <i class="dropdown icon"></i>
                    你好，@User.Identity.Name
                    <div class="menu">
                        <a class="item">修改密码</a>
                        <a class="item">Russian</a>
                        <a class="item">Spanish</a>
                    </div>
                </div>
                <a class="item" href="javascript:document.getElementById('logoutForm').submit()">
                    <i class="icon sign out"></i>
                    注销
                </a>
                <a class="item">
                    <i class="help circle icon"></i>
                    帮助
                </a>
            </div>
        </div>
        @using (Html.BeginForm("LogOff", "Security", FormMethod.Post, new { id = "logoutForm" }))
        {
            @Html.AntiForgeryToken()

        }

    </header>

    <div id="wrapper">

            @RenderBody()

    </div>
    <footer id="pagefooter">
        Copyright &copy; 2012 <a id="hlSiteInfo" hre<a id="hlS<a id="hlSiteInfo" hre<a id="hlSiteInfo" href="http://heiniaozhi.cn">黑鸟志</a> All Rights
                Reserved
    </footer>

    <!-- The Scripts -->
    <!--[if lte IE 8]>
    @Scripts.Render("~/bundles/jqueryForIE")
    <![endif]-->
    <!--[if gte IE 9]><!-->
    @Scripts.Render("~/bundles/jquery")
    <!--<![endif]-->
    @Scripts.Render("~/bundles/Admin/js")



    @RenderSection("footer", required: false)
</body>
</html>
